const comments = m => require.ensure([],()=>m(require('@/components/comments/comments')),'comments')  //  最新跟帖评论
const commentsDetail = m => require.ensure([],()=>m(require('@/components/comments/commentsDetail')),'commentsDetail')  // 最热跟帖评论
const myComments = m => require.ensure([],()=>m(require('@/components/comments/myComments')),'myComments')  //我的跟帖
export const commentList = [
    {
        path: '/comments/:type/:id/',
        name: 'comments',
        component: comments
    },
    {
        path: '/commentsDetail/:commentType/:type/:id/',
        name: 'commentsDetail',
        component: commentsDetail
    },
    {
        name: '/myComments',
        path: '/myComments/:userId',
        component:myComments
    }
]